package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.List;


/**
 * 【请填写功能名称】对象 sys_record
 *
 * @author theme
 * @date 2020-05-27
 */
public class SysRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;
    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    private Long mobileUserId;

    /**
     * 值
     */
    @ApiModelProperty(name = "值")
    private String provalue;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "用户id")
    private Long optionId;


    @ApiModelProperty(name = "用户id")
    private List<SysOption> optionIds;

    private SysOption sysOption;

    public SysOption getSysOption() {
        return sysOption;
    }

    public void setSysOption(SysOption sysOption) {
        this.sysOption = sysOption;
    }

    public List<SysOption> getOptionIds() {
        return optionIds;
    }

    public void setOptionIds(List<SysOption> optionIds) {
        this.optionIds = optionIds;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setMobileUserId(Long mobileUserId) {
        this.mobileUserId = mobileUserId;
    }

    public Long getMobileUserId() {
        return mobileUserId;
    }

    public void setProvalue(String provalue) {
        this.provalue = provalue;
    }

    public String getProvalue() {
        return provalue;
    }

    public void setOptionId(Long optionId) {
        this.optionId = optionId;
    }

    public Long getOptionId() {
        return optionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("mobileUserId" , getMobileUserId())
                .append("provalue" , getProvalue())
                .append("optionId" , getOptionId())
                .toString();
    }
}
